package com.edie.customview;

import android.app.Application;
import android.content.Context;

import com.edie.customview.gen.GreenDaoManager;

/**
 * edie create on 2018/7/18
 */
public class CustomApplication extends Application {
    static Context applicationContext;

    public static Context getmAppContext() {
        return applicationContext;
    }

    @Override
    public void onCreate() {
        super.onCreate();
        applicationContext = getApplicationContext();
        GreenDaoManager instance = GreenDaoManager.getInstance();
    }
}
